gtk+3.0.git
8 years agobuild: Integrate introspection builds into MSVC projects
Chun-wei Fan [Mon, 28 Aug 2017 08:18:24 +0000 (16:18 +0800)]
build: Integrate introspection builds into MSVC projects

This is so that it is easier for one building GTK+ with Visual Studio to
build the introspection files as well in one shot.  Note that this is
not built by default, so one needs to select the gtk3-introspect
explicitly to build (and clean up) the introspection files.

For this to work, one needs to ensure the following:
-A complete build of GObject-Introspection in $(GlibEtcInstallRoot),
 that is built with the same installation of the Python interpretor that
 is used here (see PythonDir and PythonDirX64 in
 gtk3-version-paths.[vsprops|props]).
-Introspection files for ATK, GDK-Pixbuf and Pango, also in their proper
 locations under $(GlibEtcInstallRoot), which should be built with the
 same G-I installation.

8 years agobuild: Prepare NMake Makefiles for MSVC project integration
Chun-wei Fan [Mon, 28 Aug 2017 08:15:11 +0000 (16:15 +0800)]
build: Prepare NMake Makefiles for MSVC project integration

The build/win32/detectenv-msvc.mak needs to be updated for Visual Studio
2017, and we ought to add quotes to surround the copy destination path
for the introspection files, so that we do not bail out in the copy
process (cmd.exe's copy command does not like '+' in them that are not
quoted).

8 years agobuild: Set PythonDir according to MSVC version in projects
Chun-wei Fan [Mon, 28 Aug 2017 07:01:55 +0000 (15:01 +0800)]
build: Set PythonDir according to MSVC version in projects

This is to make this more in-line with what is in the G-I projects, so
that we could use this to build the introspection files for GTK+-3.22.x
directly from the project files.  This is intended to follow the MSVC
versions used to build the official CPython Windows binaries, i.e.:
-3.3.x, 3.4.x: for MSVC 2010, 2012, 2013, which is built with 2010
-3.5.x, 3.6.x: for 2015 and 2017, which is built with 2015.

8 years agobuild: Use PythonDir in Visual Studio projects
Chun-wei Fan [Mon, 28 Aug 2017 06:58:42 +0000 (14:58 +0800)]
build: Use PythonDir in Visual Studio projects

This is to avoid any confusion with the PYTHONPATH envvar that is used
by Python for additional locations for looking for modules.

8 years agogtkplacessidebar: remove oversight of old code
Julius Härtl [Sat, 26 Aug 2017 20:43:16 +0000 (22:43 +0200)]
gtkplacessidebar: remove oversight of old code

https://bugzilla.gnome.org/show_bug.cgi?id=786123

8 years agoUpdate Korean translation
Changwoo Ryu [Sun, 27 Aug 2017 21:24:01 +0000 (21:24 +0000)]
Update Korean translation

8 years agoUpdate Korean translation
Changwoo Ryu [Sun, 27 Aug 2017 21:22:39 +0000 (21:22 +0000)]
Update Korean translation

8 years agomenu: Avoid cancelling the menu on GTK+ grabs inside the GtkMenu
Carlos Garnacho [Thu, 10 Aug 2017 09:56:47 +0000 (11:56 +0200)]
menu: Avoid cancelling the menu on GTK+ grabs inside the GtkMenu

Allows again sliders as menuitems, broken by commit 9b032073.

https://bugzilla.gnome.org/show_bug.cgi?id=786029

8 years agoPlacesSidebar: Avoid warning about unused variable
Daniel Boles [Sun, 27 Aug 2017 14:32:44 +0000 (15:32 +0100)]
PlacesSidebar: Avoid warning about unused variable

end_icon is only used if HAVE_CLOUDPROVIDERS is defined, so only declare
it under the same condition.

https://bugzilla.gnome.org/show_bug.cgi?id=786123

8 years agoSidebarRow: need config.h for HAVE_CLOUDPROVIDERS
Daniel Boles [Sun, 27 Aug 2017 14:31:17 +0000 (15:31 +0100)]
SidebarRow: need config.h for HAVE_CLOUDPROVIDERS

https://bugzilla.gnome.org/show_bug.cgi?id=786123

8 years agotestgtk: Remove an unused variable
Daniel Boles [Sun, 27 Aug 2017 14:34:38 +0000 (15:34 +0100)]
testgtk: Remove an unused variable

8 years agoUpdate German translation
Mario Blättermann [Sun, 27 Aug 2017 08:28:45 +0000 (08:28 +0000)]
Update German translation

8 years agoUpdate Indonesian translation
Andika Triwidada [Sun, 27 Aug 2017 01:43:41 +0000 (01:43 +0000)]
Update Indonesian translation

8 years agoRemove an unused field
Matthias Clasen [Sat, 26 Aug 2017 23:15:36 +0000 (19:15 -0400)]
Remove an unused field

Drag contexts are objects, so there is no need to carry a
manual refcount around.

8 years agox11: Fix initial drag cursors
Matthias Clasen [Sat, 26 Aug 2017 22:01:17 +0000 (18:01 -0400)]
x11: Fix initial drag cursors

Under X, we were not setting the right drag cursor initially,
because at current_action == action == 0, initially. Fix this
by explicitly using the right cursor when grabbing.

8 years agoUpdate Swedish translation
Anders Jonsson [Sat, 26 Aug 2017 22:20:51 +0000 (22:20 +0000)]
Update Swedish translation

8 years agoUpdate Italian translation
Milo Casagrande [Sat, 26 Aug 2017 15:40:24 +0000 (15:40 +0000)]
Update Italian translation

8 years agoemoji: Use the right gettext domain
Matthias Clasen [Sat, 26 Aug 2017 14:25:56 +0000 (10:25 -0400)]
emoji: Use the right gettext domain

Otherwise, strings are not translated.

https://bugzilla.gnome.org/show_bug.cgi?id=786841

8 years agoUpdate Polish translation
Piotr Drąg [Sat, 26 Aug 2017 14:11:51 +0000 (16:11 +0200)]
Update Polish translation

8 years agoUpdate Friulian translation
Fabio Tomat [Sat, 26 Aug 2017 11:23:42 +0000 (11:23 +0000)]
Update Friulian translation

8 years agoUpdate Kazakh translation
Baurzhan Muftakhidinov [Sat, 26 Aug 2017 06:26:39 +0000 (06:26 +0000)]
Update Kazakh translation

8 years agoUpdate Brazilian Portuguese translation
Rafael Fontenelle [Sat, 26 Aug 2017 02:17:43 +0000 (02:17 +0000)]
Update Brazilian Portuguese translation

8 years agogtkplacessidebar: implement libcloudproviders support
Julius Härtl [Thu, 10 Aug 2017 20:30:36 +0000 (22:30 +0200)]
gtkplacessidebar: implement libcloudproviders support

Add integration of the libcloudproviders DBus API to the
GtkPlacesSidebar by showing name and sync status of the cloud providers.
The exported menu is rendered as a GtkPopover.

The sidebar will be updated if the list of cloudproviders changes e.g.
by adding or removing an account. If any cloud provider changes detailed
information like sync status only the individual sidebar row gets
updated.

Co-authored-by: Carlos Soriano <csoriano@gnome.org>
https://bugzilla.gnome.org/show_bug.cgi?id=786123

8 years agoComboBox: Use iter before popdown() may invalidate
Daniel Boles [Fri, 25 Aug 2017 20:00:51 +0000 (21:00 +0100)]
ComboBox: Use iter before popdown() may invalidate

Bad actors, such as our very own FileChooserButton, may connect to the
:popped-up property and alter the model as the menu becomes in/visible.

We were getting an iter to the model while popped-up, then doing
popdown(), then using the iter, which may have just been invalidated by
the errant notify::popped-up handler. If so, we quickly crash fatally.

This is clearly bonkers, but until such patterns are removed, we have to
work around them. So, set_active() from the clicked item while it is
known to be valid, by moving the call to set_active() before popdown().

While here, change set_active_iter(iter) to set_active_internal(path) to
avoid pointlessly going through the iter to get the path we already have

https://bugzilla.gnome.org/show_bug.cgi?id=729651

8 years agoExpander: Also hide child GdkWindow when collapsed
Daniel Boles [Thu, 24 Aug 2017 20:05:00 +0000 (21:05 +0100)]
Expander: Also hide child GdkWindow when collapsed

Just adding/removing to/from the BoxGadget is not sufficient; that
leaves the GdkWindow hanging around, taking input, changing the cursor,
and all sorts of other nefarious shenanigans.

Resolve by ensuring the child’s GdkWindow is unmapped if collapsed.

Note: the reflexive solution is just to set_visible(child, expanded),
but it is best to avoid messing with the child’s :visible property.

https://bugzilla.gnome.org/show_bug.cgi?id=776937

8 years agoComboBox: Clarify documentation of get_active_iter
Daniel Boles [Thu, 24 Aug 2017 11:46:47 +0000 (12:46 +0100)]
ComboBox: Clarify documentation of get_active_iter

https://bugzilla.gnome.org/show_bug.cgi?id=618160

8 years agoPopover: Include window shadows in overshoot calcs
Daniel Boles [Wed, 23 Aug 2017 20:44:10 +0000 (21:44 +0100)]
Popover: Include window shadows in overshoot calcs

.update_position() enforces that non-Wayland platforms must position a
Popover within its parent Window. We use the allocation of the Window
to translate the position and check for overshoot on each of its sides.
Calling Widget.get_allocation() of a CSD Window includes its shadows.

But shadows were not excluded from the area in which we can position.
Thus, Popovers could get positioned in the shadow of CSD windows, where,
at least on X11, no input is received. Therefore, positioning a Popover
over a shadow meant its child widgets within that area became unusable.

Fix by calling Window.get_shadow() and including it in the overshoot on
each side. This adjusts for how the allocation includes shadows, making
overshoots with and without shadows the same. Thus, we avoid considering
shadows as viable for positioning, favouring a side where input works.

https://bugzilla.gnome.org/show_bug.cgi?id=786209

8 years agotestpopover: Use HeaderBar to get CSD decorations
Daniel Boles [Sun, 13 Aug 2017 19:15:36 +0000 (20:15 +0100)]
testpopover: Use HeaderBar to get CSD decorations

This helps test whether the Popover positioning gets messed up by the
presence of CSD shadow or other accessories around the content area.

https://bugzilla.gnome.org/show_bug.cgi?id=786209

8 years agoUpdate Chinese (Taiwan) translation
Cheng-Chia Tseng [Thu, 24 Aug 2017 16:39:23 +0000 (16:39 +0000)]
Update Chinese (Taiwan) translation

8 years agoUpdate Swedish translation
Anders Jonsson [Thu, 24 Aug 2017 09:44:28 +0000 (09:44 +0000)]
Update Swedish translation

8 years agoUpdate Swedish translation
Anders Jonsson [Thu, 24 Aug 2017 09:37:42 +0000 (09:37 +0000)]
Update Swedish translation

8 years agoUpdate POTFILES.in and POTFILES.skip
Piotr Drąg [Thu, 24 Aug 2017 00:45:09 +0000 (02:45 +0200)]
Update POTFILES.in and POTFILES.skip

8 years agoSidebarRow: Add Unmount tooltip to eject_button
Daniel Boles [Sat, 19 Aug 2017 16:18:35 +0000 (17:18 +0100)]
SidebarRow: Add Unmount tooltip to eject_button

It was reported that the lack of a tooltip made its purpose unclear.
This can be solved by just copying PlacesViewRow’s eject_button tooltip.

https://bugzilla.gnome.org/show_bug.cgi?id=766909

8 years agoGtkFileChooserNativeQuartz: restore parent focus after closing dialog
Tom Schoonjans [Mon, 31 Jul 2017 20:28:42 +0000 (21:28 +0100)]
GtkFileChooserNativeQuartz: restore parent focus after closing dialog

Tested for both modal and non-modal dialogs

https://bugzilla.gnome.org/show_bug.cgi?id=785306

8 years agoGtkFileChooserNativeQuartz: improve support for file filters
Tom Schoonjans [Mon, 31 Jul 2017 20:26:47 +0000 (21:26 +0100)]
GtkFileChooserNativeQuartz: improve support for file filters

Instead of using conditional compilation, use respondsToSelector to
check at runtime for setAccessoryViewDisclosed.

https://bugzilla.gnome.org/show_bug.cgi?id=785306

8 years agoGtkFileChooserNativeQuartz: add support for Mountain Lion and Mavericks
Tom Schoonjans [Sun, 23 Jul 2017 08:37:26 +0000 (09:37 +0100)]
GtkFileChooserNativeQuartz: add support for Mountain Lion and Mavericks

https://bugzilla.gnome.org/show_bug.cgi?id=784723 introduced support for
native file chooser dialogs on macOS, but due to the use of generics in
the patch, there will be compilation errors on pre-Xcode 7 platforms,
such as Mountain Lion and Mavericks.

I strongly recommend to revert this patch when the oldest supported
macOS release is bumped to Yosemite (10.10).

https://bugzilla.gnome.org/show_bug.cgi?id=785306

8 years agogdk: wayland: always set buffer scale on size update
Lionel Landwerlin [Fri, 18 Aug 2017 22:57:56 +0000 (23:57 +0100)]
gdk: wayland: always set buffer scale on size update

We're only updating this when we have an EGL window. This means we
have the wrong scaling factor when using Vulkan.

https://bugzilla.gnome.org/show_bug.cgi?id=786492

8 years agoUpdate Friulian translation
Fabio Tomat [Wed, 23 Aug 2017 12:55:53 +0000 (12:55 +0000)]
Update Friulian translation

8 years agoUpdate Italian translation
Milo Casagrande [Wed, 23 Aug 2017 07:12:14 +0000 (07:12 +0000)]
Update Italian translation

8 years agoUpdate Italian translation
Milo Casagrande [Tue, 22 Aug 2017 16:41:00 +0000 (16:41 +0000)]
Update Italian translation

8 years agogetting_started: Sync filenames & section headings
Daniel Boles [Tue, 22 Aug 2017 13:14:53 +0000 (14:14 +0100)]
getting_started: Sync filenames & section headings

The order of Examples 3 and 4 was swapped, so the headings updated
themselves, but the filenames were left reflecting the old order.

https://bugzilla.gnome.org/show_bug.cgi?id=786553

8 years ago3.22.19
Matthias Clasen [Tue, 22 Aug 2017 12:33:11 +0000 (08:33 -0400)]
3.22.19

8 years agoHandle emoji data change in emoji chooser
Matthias Clasen [Sat, 19 Aug 2017 18:05:48 +0000 (14:05 -0400)]
Handle emoji data change in emoji chooser

Update the settings schema to follow the change in Emoji data,
and make the emoji chooser code handle the new format.

8 years agoAdd shortnames to emoji data
Matthias Clasen [Sat, 19 Aug 2017 18:05:16 +0000 (14:05 -0400)]
Add shortnames to emoji data

The json file is from

https://github.com/emojione/emojione/tree/master/extras/alpha-codes

It is under the MIT license.

8 years agoDon't consume too many key releases
Matthias Clasen [Tue, 22 Aug 2017 10:41:31 +0000 (06:41 -0400)]
Don't consume too many key releases

The Emoji input support in GtkIMContextSimple was
unintentionally consuming too many key release
events. Fix this.

https://bugzilla.gnome.org/show_bug.cgi?id=786594

8 years agoUpdate Spanish translation
Daniel Mustieles [Mon, 21 Aug 2017 11:33:27 +0000 (11:33 +0000)]
Update Spanish translation

8 years agoUpdate Nepali translation
Pawan Chitrakar [Sun, 20 Aug 2017 22:44:56 +0000 (22:44 +0000)]
Update Nepali translation

8 years agoUpdate German translation
Mario Blättermann [Sun, 20 Aug 2017 14:40:07 +0000 (14:40 +0000)]
Update German translation

8 years agoUpdate German translation
Christian Kirbach [Sun, 20 Aug 2017 14:33:49 +0000 (14:33 +0000)]
Update German translation

8 years agoUpdate Nepali translation
Pawan Chitrakar [Sun, 20 Aug 2017 09:42:28 +0000 (09:42 +0000)]
Update Nepali translation

8 years agoUpdate Kazakh translation
Baurzhan Muftakhidinov [Sat, 19 Aug 2017 17:33:57 +0000 (17:33 +0000)]
Update Kazakh translation

8 years agoUpdate French translation
Alexandre Franke [Sat, 19 Aug 2017 14:44:33 +0000 (14:44 +0000)]
Update French translation

8 years agoUpdate French translation
Alexandre Franke [Sat, 19 Aug 2017 14:41:23 +0000 (14:41 +0000)]
Update French translation

8 years agoUpdate German translation
Mario Blättermann [Sat, 19 Aug 2017 11:46:22 +0000 (11:46 +0000)]
Update German translation

8 years agoUpdate Croatian translation
gogo [Fri, 18 Aug 2017 20:38:20 +0000 (20:38 +0000)]
Update Croatian translation

8 years agoUpdate Croatian translation
gogo [Fri, 18 Aug 2017 20:36:41 +0000 (20:36 +0000)]
Update Croatian translation

8 years agogtkbutton: Avoid keyboard grabs
Carlos Garnacho [Fri, 18 Aug 2017 17:16:19 +0000 (19:16 +0200)]
gtkbutton: Avoid keyboard grabs

Seems to be there for the sole purpose of ensuring the button
shall receive the key release on keyboard-triggered activation.

For the cases where this makes sense (eg. comboboxes, menubuttons,
...) gtk+ already does ensure the menu is popup after key release.
This makes the grab pretty useless, and there's many other cases
where it doesn't make sense (eg. button being activated
programmatically from an event handler in another widget).

Fixes button activation unintendedly triggering shortcut inhibition
on wayland.

https://bugzilla.gnome.org/show_bug.cgi?id=786480

8 years agogdkwindow: Avoid re-setting the opaque region if it doesn't change
Rui Matos [Fri, 18 Aug 2017 10:01:54 +0000 (12:01 +0200)]
gdkwindow: Avoid re-setting the opaque region if it doesn't change

This avoids, at least, needless chatter with the compositor and the X
server in X11's case.

https://bugzilla.gnome.org/show_bug.cgi?id=786469

8 years agoUpdate Slovak translation
Dušan Kazik [Fri, 18 Aug 2017 16:07:04 +0000 (16:07 +0000)]
Update Slovak translation

8 years agoUpdated Czech translation
Marek Cernocky [Fri, 18 Aug 2017 08:56:19 +0000 (10:56 +0200)]
Updated Czech translation

8 years agoGDK-Win32: Fix AeroSnap on HiDPI
Chun-wei Fan [Tue, 8 Aug 2017 14:19:45 +0000 (22:19 +0800)]
GDK-Win32: Fix AeroSnap on HiDPI

Commit 1d0fad3 revealed that there were some assumptions made that were
actually to compensate for the bug fixed by that commit, so we need to
remove those assumptions as they would result in AerSnap to not work
properly on HiDPI screens.

Also re-do how we set the x and y positions of our GdkWindow, so that we
are more consistent across the board when we go between a GDK window
coordinate and a Windows API window cooredinate.

This would also simplify the code a bit.

https://bugzilla.gnome.org/show_bug.cgi?id=785999

8 years agogdk/x11: Extract GdkDeviceTool tool ID from "Wacom Serial IDs" property
Carlos Garnacho [Thu, 17 Aug 2017 12:07:12 +0000 (14:07 +0200)]
gdk/x11: Extract GdkDeviceTool tool ID from "Wacom Serial IDs" property

This property contains 5 integers, of which the last 2 respectively
contain the tool serial number and tool ID. We were only extracting the
first so far, but GdkDeviceTool also has API getters for the latter,
which remained 0.

https://bugzilla.gnome.org/show_bug.cgi?id=786400

8 years agoUpdate Galician translation
Fran Dieguez [Wed, 16 Aug 2017 22:46:55 +0000 (22:46 +0000)]
Update Galician translation

8 years agoGdkDisplay: Call the correct push|pop_error_trap()
Daniel Boles [Tue, 15 Aug 2017 18:29:22 +0000 (19:29 +0100)]
GdkDisplay: Call the correct push|pop_error_trap()

It is wrong to assume all Displays are of the same class as the default.

https://bugzilla.gnome.org/show_bug.cgi?id=784016

8 years agoScrolledWindow: Bin unreachable ternary branches
Daniel Boles [Tue, 15 Aug 2017 14:15:08 +0000 (15:15 +0100)]
ScrolledWindow: Bin unreachable ternary branches

We already checked that the child is not NULL above.

Coverity CID 1454191

8 years agoWidget: Fix outdated comments about tooltips
Daniel Boles [Tue, 15 Aug 2017 01:11:19 +0000 (02:11 +0100)]
Widget: Fix outdated comments about tooltips

They are not usually yellow anymore, the previous advice about how to
style them was for pre-3.20 versions, and the immediate replacement (CSS
class .tooltip) does not seem ready for primetime.

https://bugzilla.gnome.org/show_bug.cgi?id=784421

8 years agogtk/gtkemojichooser.c: Don't use g_autoptr()
Chun-wei Fan [Tue, 15 Aug 2017 02:43:01 +0000 (10:43 +0800)]
gtk/gtkemojichooser.c: Don't use g_autoptr()

We can't use g_autoptr() on non-GCC-style compilers.

https://bugzilla.gnome.org/show_bug.cgi?id=773299

8 years agoUpdated Lithuanian translation
Aurimas Černius [Tue, 15 Aug 2017 13:48:49 +0000 (16:48 +0300)]
Updated Lithuanian translation

8 years agoRemove an erroneous unref
Matthias Clasen [Tue, 15 Aug 2017 10:40:05 +0000 (06:40 -0400)]
Remove an erroneous unref

This was leftover by accident.

8 years agoRedo emoji data slightly
Matthias Clasen [Sun, 13 Aug 2017 19:16:11 +0000 (15:16 -0400)]
Redo emoji data slightly

No longer store variation sequences explicitly. Instead, put a 0
in the sequence where the modifiers will be inserted. This is more
compact, and it allows us to put variations directly into the
recent section. Update the type of the recent-emoji setting to
match these changes.

8 years agoDon't update headings in an idle
Matthias Clasen [Sun, 13 Aug 2017 13:27:37 +0000 (09:27 -0400)]
Don't update headings in an idle

It is not necessary since flow box invalidation is
all synchronous currently. If that ever changes,
this code will need adjustment.

8 years agotestpopover: Sync initial vals of controls & props
Daniel Boles [Mon, 14 Aug 2017 22:10:59 +0000 (23:10 +0100)]
testpopover: Sync initial vals of controls & props

The ComboBoxes were initially empty, rather than reflecting the initial
values of the properties. The CheckButtons were only correct by chance.
Fix this by setting the initial values on the widgets and binding them
to the properties using SYNC_CREATE, so the two are always synced up.

https://bugzilla.gnome.org/show_bug.cgi?id=786209

8 years agoconfigure: Add missing quotes to unbreak an AS_IF
Hannes Müller [Mon, 14 Aug 2017 17:17:17 +0000 (19:17 +0200)]
configure: Add missing quotes to unbreak an AS_IF

Without quoting, the comma in AC_MSG_ERROR was wrongly interpreted as
separating the if and else paths.

https://bugzilla.gnome.org/show_bug.cgi?id=786287

8 years agoUpdate Spanish translation
Daniel Mustieles [Mon, 14 Aug 2017 16:04:33 +0000 (16:04 +0000)]
Update Spanish translation

8 years agoUpdate Galician translation
Fran Dieguez [Sun, 13 Aug 2017 22:20:29 +0000 (22:20 +0000)]
Update Galician translation

8 years agoUpdate Turkish translation
Muhammet Kara [Sun, 13 Aug 2017 16:34:57 +0000 (16:34 +0000)]
Update Turkish translation

8 years agoemoji: Fix a leak
Matthias Clasen [Sun, 13 Aug 2017 11:49:57 +0000 (07:49 -0400)]
emoji: Fix a leak

We were leaking the list of recently used Emoji here.
Pointed out by Timm Bädert.

8 years agoemoji: Start search on the first character
Matthias Clasen [Sun, 13 Aug 2017 11:49:13 +0000 (07:49 -0400)]
emoji: Start search on the first character

There is no need to wait for a longer prefix here.
We already display all the content anyway, it will
only get less.

8 years agoDrop a redundant helper
Matthias Clasen [Sat, 12 Aug 2017 00:13:03 +0000 (20:13 -0400)]
Drop a redundant helper

We already had a function that does exactly what
is needed here.

8 years agoRemove an unused field
Matthias Clasen [Fri, 11 Aug 2017 23:52:29 +0000 (19:52 -0400)]
Remove an unused field

Nothing uses bubble_window, so it can go.

8 years agoUpdate Brazilian Portuguese translation
Rafael Fontenelle [Sat, 12 Aug 2017 22:55:14 +0000 (22:55 +0000)]
Update Brazilian Portuguese translation

8 years agoUpdate Brazilian Portuguese translation
Rafael Fontenelle [Sat, 12 Aug 2017 22:41:32 +0000 (22:41 +0000)]
Update Brazilian Portuguese translation

8 years agoInfoBar: Fix wrong/uninit var use in code example
Daniel Boles [Sat, 12 Aug 2017 20:07:22 +0000 (21:07 +0100)]
InfoBar: Fix wrong/uninit var use in code example

https://bugzilla.gnome.org/show_bug.cgi?id=786144

8 years agoUpdated Serbian translation
Мирослав Николић [Sat, 12 Aug 2017 18:03:28 +0000 (20:03 +0200)]
Updated Serbian translation

8 years agoUpdated Serbian translation
Мирослав Николић [Sat, 12 Aug 2017 18:02:20 +0000 (20:02 +0200)]
Updated Serbian translation

8 years agoAdwaita: Sync CSS files with current SASS
Daniel Boles [Sat, 12 Aug 2017 14:49:07 +0000 (15:49 +0100)]
Adwaita: Sync CSS files with current SASS

A recent commit for emoji also updated seemingly unrelated parts of the
generated CSS files, presumably due to other things that changed in
master. The CSS files should be kept in sync with their SASS sources.

8 years agoLevelBar: Avoid unnecessarily copying allocation
Daniel Boles [Sat, 12 Aug 2017 13:09:09 +0000 (14:09 +0100)]
LevelBar: Avoid unnecessarily copying allocation

Just use the original allocation, instead of copying it and passing that

8 years agoUpdate Indonesian translation
Andika Triwidada [Sat, 12 Aug 2017 13:15:04 +0000 (13:15 +0000)]
Update Indonesian translation

8 years agoUpdate Indonesian translation
Andika Triwidada [Sat, 12 Aug 2017 13:13:04 +0000 (13:13 +0000)]
Update Indonesian translation

8 years agoconvert-emoji: Add missing braces
Daniel Boles [Sat, 12 Aug 2017 13:06:09 +0000 (14:06 +0100)]
convert-emoji: Add missing braces

8 years agoconvert-emoji: Don’t pointlessly do rest of loop
Daniel Boles [Sat, 12 Aug 2017 13:00:40 +0000 (14:00 +0100)]
convert-emoji: Don’t pointlessly do rest of loop

skip can never become FALSE again, so break as soon as it becomes TRUE.

8 years agoUpdate Polish translation
Piotr Drąg [Fri, 11 Aug 2017 20:27:40 +0000 (22:27 +0200)]
Update Polish translation

8 years agoemojichooser: Add context to the Objects category string
Piotr Drąg [Fri, 11 Aug 2017 20:18:50 +0000 (22:18 +0200)]
emojichooser: Add context to the Objects category string

To disambiguate it from Objects in the Inspector.

8 years agoUpdate POTFILES.skip
Piotr Drąg [Fri, 11 Aug 2017 19:55:24 +0000 (21:55 +0200)]
Update POTFILES.skip

8 years agowidget-factory: Add a use of show-emoji-icon
Matthias Clasen [Fri, 11 Aug 2017 16:25:35 +0000 (12:25 -0400)]
widget-factory: Add a use of show-emoji-icon

This also adds a testcase for nested popovers that was
missing in widget-factory so far.

8 years agoentry: Add support for an Emoji chooser
Matthias Clasen [Fri, 11 Aug 2017 16:05:24 +0000 (12:05 -0400)]
entry: Add support for an Emoji chooser

Add an "Insert Emoji" item to the context menu in entries.
We also add a show-emoji-icon property, which when set to
TRUE, will add an icon that can be clicked to bring up
the Emoji chooser.

8 years agoFix a problem with focus handling in modal popovers
Matthias Clasen [Fri, 11 Aug 2017 16:03:54 +0000 (12:03 -0400)]
Fix a problem with focus handling in modal popovers

When the popover is dismissed, we return the focus to
where it came from. However, by using gtk_widget_grab_focus,
we were messing up the selection if that widget happens to
be an entry. Special-case GtkEntry and use
gtk_entry_grab_focus_without_selecting to avoid this issue.

8 years agoAdd an Emoji chooser widget
Matthias Clasen [Fri, 11 Aug 2017 15:54:15 +0000 (11:54 -0400)]
Add an Emoji chooser widget

Add a popover that shows color Emoji, with a search entry.
The recently-used Emoji are stored in a GSetting.

8 years agoAdd Emoji data
Matthias Clasen [Fri, 11 Aug 2017 15:47:02 +0000 (11:47 -0400)]
Add Emoji data

The json file is imported from the (MIT-licensed) emoji.json[0] node
module, which generates it from the emoji list published by the
Unicode Consortium.

This commit also adds a little tool to convert the data into
a compact GVariant, and the result of that conversion, which is
added to libgtk as a resource. The following commits will make use
of it.

[0] https://github.com/amio/emoji.json

8 years agoUpdate Polish translation
Piotr Drąg [Thu, 10 Aug 2017 22:09:45 +0000 (00:09 +0200)]
Update Polish translation